home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1369_uucico_bus_error.rtf < prev    next >
Text File  |  1993-11-08  |  3KB  |  88 lines

  1. {\rtf0\ansi{\fonttbl\f0\fnil Times-Roman;\f1\fmodern Courier;\f2\fmodern Ohlfs;}
  2. \paperw12300
  3. \paperh11100
  4. \margl120
  5. \margr180
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ulnone\fs28\fc0\cf0 Q: I'm running 
  8. \b uucico
  9. \b0  and all I get is "bus error"—no other messages, even with debugging turned on to any level.  What might be wrong?\
  10. \
  11. A: Ensure that the 
  12. \b uucico
  13. \b0  program can access the UUCP spool directory.  Since the program is (supposed to be) SetUID uucp and SetGID daemon, this means the uucp user must be able to read and write the directory.\
  14. \
  15. If you examine the files using the UNIX 
  16. \b ls
  17. \b0 (1) command, you should see the following (dates might be different, and the size of the spool directory might be different):\
  18. \
  19.  
  20. \f1\fs24\fc1\cf1     localhost [/me]-7% 
  21. \b ls -ldg /usr/lib/uucp/uucico /usr/spool/uucp
  22. \b0 \
  23.     ---s--s--x  1 uucp     daemon     90112 Nov 11 17:25 /usr/lib/uucp/uucico*\
  24.     drwxr-xr-x 14 uucp     daemon      1024 Dec 22 03:30 /usr/spool/uucp/ \
  25.  
  26. \f0\fs28\fc0\cf0 \
  27. If you see different results, and you're not 
  28. \i absolutely certain
  29. \i0  why they're different, you can set things right with the following commands:\
  30. \
  31.  
  32. \f1\fs24\fc1\cf1     localhost [/me]-7% 
  33. \b su
  34. \b0 \
  35.     localhost-1# 
  36. \b chown uucp.daemon /usr/lib/uucp/uucico /usr/spool/uucp
  37. \b0 \
  38.     localhost-2# 
  39. \b chmod 755 /usr/spool/uucp
  40. \b0 \
  41.     localhost-3# 
  42. \b chmod 6111 /usr/lib/uucp/uucico
  43. \b0 \
  44.  
  45. \f0\fs28\fc0\cf0 \
  46. One other thing to note: the output of the 
  47. \b ls
  48. \b0  on 
  49. \b uucico
  50. \b0  is the same whether the owner and the group have execute permission or not.  In UNIX parlance, the mode display in the 
  51. \b ls
  52. \b0  is the same whether the numeric mode is 6001, 6011, or 6111.  Be 
  53. \i sure
  54. \i0  it's 6111: SetUID, SetGID, and execute for user, group, and other.\
  55. \
  56. By the way, the rest of the commands in the UUCP suite are likely subject to the same limitations.  We have verified that 
  57. \b uucp
  58. \b0  behaves like 
  59. \b uucico
  60. \b0  in this situation; we have not tested the rest of the suite, but anything which needs access to the spool directory are suspect.  For completeness, here's another 
  61. \b ls -lg
  62. \b0 :\
  63. \
  64.  
  65. \f1\fs24\fc1\cf1     localhost [/me]-8% 
  66. \b ls -lg /usr/bin/uu* /usr/lib/uucp/uu*
  67. \b0  \
  68.     ---s--s--x  1 uucp     daemon     24576 Nov 11 17:25 /usr/bin/uucp*\
  69.     -rwxr-xr-x  1 uucp     daemon     16384 Nov 11 17:26 /usr/bin/uudecode*\
  70.     -rwxr-xr-x  1 uucp     daemon      2984 Nov 11 17:26 /usr/bin/uuencode*\
  71.     ---s--s--x  1 uucp     daemon      4620 Nov 11 17:25 /usr/bin/uulog*\
  72.     ---s--s--x  1 uucp     daemon      5776 Nov 11 17:25 /usr/bin/uuname*\
  73.     ---s--s--x  1 uucp     daemon     24576 Nov 11 17:26 /usr/bin/uupoll*\
  74.     ---s--s--x  1 uucp     daemon      8716 Nov 11 17:26 /usr/bin/uuq*\
  75.     ---s--s--x  2 uucp     daemon      3548 Nov 11 17:26 /usr/bin/uusend*\
  76.     ---s--s--x  1 uucp     daemon      4260 Nov 11 17:26 /usr/bin/uusnap*\
  77.     ---s--s--x  1 uucp     daemon     24576 Nov 11 17:25 /usr/bin/uux*\
  78.     ---s--s--x  1 uucp     daemon     90112 Nov 11 17:25 /usr/lib/uucp/uucico*\
  79.     ---s--s--x  1 uucp     daemon     11136 Nov 11 17:25 /usr/lib/uucp/uuclean*\
  80.     ---s--s---  1 uucp     daemon     32768 Nov 11 17:26 /usr/lib/uucp/uuxqt*\
  81.  
  82. \f0\fs28\fc0\cf0 \
  83. QA689\
  84. \
  85. Valid for 1.0, 2.0, 3.0,3.1\
  86. \
  87.  
  88.